package lion.web.interceptors;

import lion.framework.core.ApplicationInitializer;
import lion.web.interceptors.ipac.IPACManager;

/**
 * @author lion
 * @email hl_0074@sina.com
 * @date 2014年5月8日
 */
public class T {

	public static void main(String[] args) throws Exception {

		ApplicationInitializer.init();

		IPACManager manager = new IPACManager();
		manager.init();

		System.out.println(IPACManager.isIPAllowed("127.0.0.1"));
		System.out.println(IPACManager.isIPAllowed("/admin/login", "127.0.0.3"));
	}
}
